#pragma once

#include <qglobal.h>
#include <memory>

#include "spdlog/spdlog.h"

QT_BEGIN_NAMESPACE
class CLoggerImpl;
QT_END_NAMESPACE



class CLoggerImplPrivate
{
	Q_DECLARE_PUBLIC(CLoggerImpl)
public:
	CLoggerImplPrivate(CLoggerImpl* parent);
	~CLoggerImplPrivate();

private:
	CLoggerImpl* const q_ptr;
	std::shared_ptr<spdlog::logger>m_normal_logger;
	std::shared_ptr<spdlog::logger>m_qt_logger;
	CLoggerImpl::LogType m_type;
};
